﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BUS;

namespace WebNhaXuatBan
{
    public partial class index : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        [System.Web.Services.WebMethod]
        public static bool KiemTraTenTaiKhoan(String TenDangNhap)
        {
            TaiKhoanBUS tk = new TaiKhoanBUS();
            DTO.TaiKhoanDTO tkk = new DTO.TaiKhoanDTO();
            tkk.TenTaiKhoan = TenDangNhap;
            return tk.KiemTraTenTaiKhoan(tkk);
        }
    }
}